package com.scujj.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

@TableName("jjbb_blog_thumbsup")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class BlogThumbsUpNum implements Serializable {
    @TableId("id")
    @JsonSerialize(using= ToStringSerializer.class)
    private Long id;
    @JsonSerialize(using= ToStringSerializer.class)
    private Long uid;
    @JsonSerialize(using= ToStringSerializer.class)
    private Long bid;
}
